#ifndef _ERRORCODES_H_
#define _ERRORCODES_H_

#include <QString>

enum Errors {
    SyntaxError = 1,
    ReturnInInit = 101,
    AlreadyDefined = 102
};

struct Error {
    Errors code;
    QString msg;
    int line;
    int col;
};

#endif
